package com.example.mapper;

import com.example.entity.HnyyPurRebateSaleHx;
import com.example.entity.HnyyPurRebateSaleHxLines;
import com.example.entity.VHnyyPurRebateSaleList;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface AccountMapper {
    List<VHnyyPurRebateSaleList> getData(VHnyyPurRebateSaleList vHnyyPurRebateSaleList,String comPartyId);

    int updateAmt(String id, String rebAmt, String comPartyId, String saler);

    int apply(Map map);

    int applyHx(HnyyPurRebateSaleHxLines hxLines);

    List<HnyyPurRebateSaleHx> getHxList(String creater,String venderId,String startDate,String endDate,String comPartyId,String key);

    VHnyyPurRebateSaleList getHxListById(String id);

    int saleCheck(String id, String memo, String key, String saler);

    int updateRebateListAmt(String id,String applyAmt);

    void updateRebateListAmtCancel(String id);
}
